import request from "@/request/";

// 列表
export const getList = (data) => {
  return request({
    url: "/api/mes-warehouse-service/wh-entry-audit/page",
    method: "POST",
    data,
  });
};

// 审核
export const inventory = (data) => {
  return request({
    url: "/api/mes-warehouse-service/wh-entry-audit/audit",
    method: "POST",
    data: {
      bizBillIdList: data,
    },
  });
};

// 查看详情
export const getDetail = (data) => {
  return request({
    url: "/api/mes-warehouse-service/wh-entry-audit/detail",
    method: "POST",
    data,
  });
};

// 查看明细
export const getParticulars = (data) => {
  return request({
    url: "/api/mes-warehouse-service/wh-entry-audit/barcode/page",
    method: "POST",
    data,
  });
};

// 导出
// export const exportTableData = (data) => {
//   return request({
//     url: `/api/mes-warehouse-service/customer/list/download`,
//     method: "POST",
//     responseType: "blob",
//     timeout: 300000,
//     data: data,
//   });
// };
